package day1.HomeWork;

public class Test5 {
    public static void main(String[] args) {
        Animal a = new Dog();
        a.speak();
       // a.wagTail();
        ((Dog)a).wagTail();
    }
}
